//
//  StoreCategorySortHeader.m
//  BaseProject
//
//  Created by 王洋 on 2020/7/6.
//  Copyright © 2020 王洋. All rights reserved.
//

#import "StoreCategorySortHeader.h"

@interface StoreCategorySortHeader ()

@end

@implementation StoreCategorySortHeader

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (IBAction)catAction:(id)sender {
    
    if (self.StoreCategorySortHeaderBlock) {
        self.StoreCategorySortHeaderBlock(StoreCategorySortActionType_category);
    }
}

- (IBAction)locationAction:(id)sender {
    if (self.StoreCategorySortHeaderBlock) {
        self.StoreCategorySortHeaderBlock(StoreCategorySortActionType_location);
    }
}

- (IBAction)sortAction:(id)sender {
    if (self.StoreCategorySortHeaderBlock) {
        self.StoreCategorySortHeaderBlock(StoreCategorySortActionType_sort);
    }
}

- (IBAction)screenAction:(id)sender {
    if (self.StoreCategorySortHeaderBlock) {
        self.StoreCategorySortHeaderBlock(StoreCategorySortActionType_screen);
    }
}
@end
